package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 用户优惠卷对象 dd_user_discount
 * 
 * @author ruoyi
 * @date 2020-04-12
 */
public class DdUserDiscount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** uuid */
    private String uuid;

    /** 优惠卷名称 */
    @Excel(name = "优惠卷名称")
    private String name;

    /** 有效期起始日 */
    @Excel(name = "有效期起始日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginTime;

    /** 有效期结束日 */
    @Excel(name = "有效期结束日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 领取人 */
    @Excel(name = "领取人")
    private String receiver;

    /** 模板ID */
    @Excel(name = "模板ID")
    private String templateId;

    /** 备用1 */
    @Excel(name = "备用1")
    private String re1;

    /** 备用2 */
    @Excel(name = "备用2")
    private String re2;

    /** 备用3 */
    @Excel(name = "备用3")
    private String re3;

    /** 是否有效(0有效 1失效) */
    @Excel(name = "是否有效(0有效 1失效)")
    private String del;

    /** 优惠额度 */
    @Excel(name = "优惠额度")
    private String quota;

    /** 有效期模式(0 固定时间 1 领取后x天有效) */
    @Excel(name = "有效期模式(0 固定时间 1 领取后x天有效)")
    private String dateType;

    /** 领取后有效期天数 */
    @Excel(name = "领取后有效期天数")
    private Integer dateNumber;

    /** 备注 */
    @Excel(name = "备注")
    private String remake;

    public void setUuid(String uuid) 
    {
        this.uuid = uuid;
    }

    public String getUuid() 
    {
        return uuid;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setBeginTime(Date beginTime) 
    {
        this.beginTime = beginTime;
    }

    public Date getBeginTime() 
    {
        return beginTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setReceiver(String receiver) 
    {
        this.receiver = receiver;
    }

    public String getReceiver() 
    {
        return receiver;
    }
    public void setTemplateId(String templateId) 
    {
        this.templateId = templateId;
    }

    public String getTemplateId() 
    {
        return templateId;
    }
    public void setRe1(String re1) 
    {
        this.re1 = re1;
    }

    public String getRe1() 
    {
        return re1;
    }
    public void setRe2(String re2) 
    {
        this.re2 = re2;
    }

    public String getRe2() 
    {
        return re2;
    }
    public void setRe3(String re3) 
    {
        this.re3 = re3;
    }

    public String getRe3() 
    {
        return re3;
    }
    public void setDel(String del) 
    {
        this.del = del;
    }

    public String getDel() 
    {
        return del;
    }
    public void setQuota(String quota) 
    {
        this.quota = quota;
    }

    public String getQuota() 
    {
        return quota;
    }
    public void setDateType(String dateType) 
    {
        this.dateType = dateType;
    }

    public String getDateType() 
    {
        return dateType;
    }
    public void setDateNumber(Integer dateNumber) 
    {
        this.dateNumber = dateNumber;
    }

    public Integer getDateNumber() 
    {
        return dateNumber;
    }
    public void setRemake(String remake) 
    {
        this.remake = remake;
    }

    public String getRemake() 
    {
        return remake;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("uuid", getUuid())
            .append("name", getName())
            .append("beginTime", getBeginTime())
            .append("endTime", getEndTime())
            .append("receiver", getReceiver())
            .append("templateId", getTemplateId())
            .append("re1", getRe1())
            .append("re2", getRe2())
            .append("re3", getRe3())
            .append("del", getDel())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("quota", getQuota())
            .append("dateType", getDateType())
            .append("dateNumber", getDateNumber())
            .append("remake", getRemake())
            .toString();
    }
}
